//
//  CalendarCollectionViewCell.m
//  中行客服端
//
//  Created by rimi on 16/7/27.
//  Copyright © 2016年 ZH. All rights reserved.
//

#import "CalendarCollectionViewCell.h"

@implementation CalendarCollectionViewCell


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        
        _titleLabel = ({
            UILabel *label = [[UILabel alloc]initWithFrame:self.bounds];
            label.textAlignment = NSTextAlignmentCenter;
            label.textColor = [UIColor blackColor];
//            label.backgroundColor = [UIColor orangeColor];
            label;
        });
        
        [self.contentView addSubview:_titleLabel];
    }
    return self;
}
- (void)layoutSubviews {
    [super layoutSubviews];
    _titleLabel.frame = self.bounds;
}

@end
